﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace EventBus.Abstractions
{
    public interface IEventHandler
    {
        Task<bool> HandleAsync<TEvent>(TEvent @event) 
            where TEvent:IEvent;
    }
}
